package com.antler.smt.admin.mapper;

import com.antler.smt.entity.PurchaserChargeEntity;
import com.antler.smt.entity.PurchaserEntity;
import com.antler.smt.request.admin.ConditionSeeKBaseReq;
import com.antler.smt.response.admin.GetPurchaserListResp;
import com.antler.smt.response.admin.GetPurchaserVipInfoListResp;
import com.antler.smt.response.admin.GetSupplierListResp;
import com.antler.smt.response.admin.OrderManageListResp;
import com.antler.smt.response.base.Result;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Repository;

/**
 *  条件查询Mapper
 *
 * @author zhangyi
 * @date 2018/5/11 17:06
 */
@Repository
public interface ConditionSeekMapper {

    /**
     * 条件查询服务商列表
     *
     * @param conditionSeeKBaseReq
     * @return
     */
    Page<GetSupplierListResp> selectSupplierSeek(ConditionSeeKBaseReq conditionSeeKBaseReq);


    /**
     * 条件查询采购商列表
     *
     * @param conditionSeeKBaseReq
     * @return
     */
    Page<GetPurchaserVipInfoListResp> selectPurchaserSeek(ConditionSeeKBaseReq conditionSeeKBaseReq);

    /**
     * 分类获取订单列表
     *
     * @param conditionSeeKBaseReq
     * @return
     */
    Page<OrderManageListResp> selectOrderSeek(ConditionSeeKBaseReq conditionSeeKBaseReq);

    /**
     * 分类获取采购商待审核充值列表
     *
     * @param conditionSeeKBaseReq
     * @return
     */
    Page<PurchaserChargeEntity> getPurchaserWaitChargeList(ConditionSeeKBaseReq conditionSeeKBaseReq);
}
